package com.ui.basic.service.admin;

import java.sql.SQLException;
import java.util.Collection;

import com.ui.basic.command.CommandRole;
import com.ui.basic.ibatis.model.system.TblSMenu;

public interface RoleService {

	CommandRole getRole(CommandRole commandRole) throws SQLException;

	CommandRole getRoleDetail(CommandRole commandRole) throws SQLException;

	Collection<TblSMenu> getMenuColl() throws SQLException;

	void save(CommandRole commandRole) throws SQLException;

	void delete(CommandRole commandRole) throws SQLException;
}
